package com.jhgsys.internal.incentive.service;

import com.jhgsys.internal.incentive.entity.IncentiveRewardClause;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 奖励条款 Service接口
 *
 * @author zjb
 * @date 2024-08-30 09:51:04
 */
public interface IIncentiveRewardClauseService extends IService<IncentiveRewardClause> {
    /**
     * 查询（分页）
     * @author zjb
     * @date 2024-08-30 09:51:04
     * @param request QueryRequest
     * @param incentiveRewardClause incentiveRewardClause
     * @return IPage<IncentiveRewardClause>
     */
    IPage<IncentiveRewardClause> findIncentiveRewardClausePage(QueryRequest request, IncentiveRewardClause incentiveRewardClause);

    /**
     * 查询（所有）
     * @author zjb
     * @date 2024-08-30 09:51:04
     * @param incentiveRewardClause incentiveRewardClause
     * @return List<IncentiveRewardClause>
     */
    List<IncentiveRewardClause> findIncentiveRewardClauseList(IncentiveRewardClause incentiveRewardClause);

    /**
    * 根据ID查询
    * @author zjb
    * @date 2024-08-30 09:51:04
    * @param id
    * @return IncentiveRewardClause
    */
    IncentiveRewardClause findIncentiveRewardClauseById(String id);

    /**
     * 新增
     * @author zjb
     * @date 2024-08-30 09:51:04
     * @param incentiveRewardClause incentiveRewardClause
     */
    void createIncentiveRewardClause(IncentiveRewardClause incentiveRewardClause);

    /**
     * 修改
     * @author zjb
     * @date 2024-08-30 09:51:04
     * @param incentiveRewardClause incentiveRewardClause
     */
    void updateIncentiveRewardClause(IncentiveRewardClause incentiveRewardClause);

    /**
     * 逻辑删除
     * @author zjb
     * @date 2024-08-30 09:51:04
     * @param incentiveRewardClause incentiveRewardClause
     * @param incentiveRewardClauseIds incentiveRewardClauseIds
     */
    void deleteIncentiveRewardClause(IncentiveRewardClause incentiveRewardClause,String incentiveRewardClauseIds);

    /**
    * 物理删除
    * @author zjb
    * @date 2024-08-30 09:51:04
    * @param incentiveRewardClauseIds incentiveRewardClauseIds
    */
    void physicallyDeleteIncentiveRewardClause(String incentiveRewardClauseIds);

}
